<?php
require_once __DIR__.'/../config/env_config.php';
include_once __DIR__.'/../lib/WishCrawler.php';
require_once __DIR__.'/../vendor/autoload.php';

use Wish\WishClient;

$ticketId = '559ed8fae8f7f71a0be7e0df';
// $ticket = WishCrawler::crawlTicket($ticketId);
$client = new WishClient(WISH_ACCESS_TOKEN, 'prod');
$ticket = $client->getTicketById($ticketId);
print_r($ticket);